import modelAbstract from "./modelAbstract";
import {images} from "../service/image";
import config from '../config'
import steel from "../canvas/steel"
export default class extends modelAbstract implements IModel{
    canvas: ICanvas = steel;
    name: string = 'steel';
    image(): HTMLImageElement {
        return images.get(this.name as keyof typeof config.images)!
    }
    render(): void {
        super.draw();
    }
}